    /*      
            Photos and album styles version 1.0
            Written by: Simon Gibson
            For : Redstar Web design (RWD - RWS)
            Last updated: 23/10/2023
    */

    /* Main page */
    .displayContainer{
        display: block;
        border: solid 1px blue;
        margin: auto;
        padding: 15px;
        height: auto;
    }

    .displayContainer label, .displayContainer p{
        font-size: 14pt;
        color: black;
    }

    .photoAlbum {
        position: relative;
        border: solid 1px black;
        width: 200px;
        height: 200px;
        background-color: rgb(255, 255, 255);
        text-align: center;
        align-content: center;
        color: blueviolet;
        font-family: 'Courier New', Courier, monospace;
        font-family: 'SourceCodePro-Regular';
        font-size: 16pt;
        margin: 5px;
        float: left;
        cursor: pointer;
    }

    .photoAlbum img{
        width: 200px;
    }

    .albumName{
        position: absolute; /* Position the background text */
        top: 0; /* At the bottom. Use top:0 to append it to the top */
        display: block;
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.7); /* Black background with 0.5 opacity */
        color: #f1f1f1; /* Grey text */
        width: 100%; /* Full width */
        padding: 5px; /* Some padding */
        cursor: default;
    }

    .editAlbum{
        position: absolute;
        top: 5px;
        right: 5px;
        cursor: pointer;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        padding: 0 4px;
    }

    /* Create four equal columns that sits next to each other */
    .column {
        flex: 25%;
        max-width: 25%;
        padding: 0 4px;
    }
 
    .column img {
        margin-top: 8px;
        vertical-align: middle;
        width: 100%;
    }

    /* Responsive layout - makes a two column-layout instead of four columns */
    @media screen and (max-width: 800px) {
        .column {
            flex: 50%;
            max-width: 50%;
        }
    }

    /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
    @media screen and (max-width: 600px) {
        .column {
            flex: 100%;
            max-width: 100%;
        }
        .imgContainer1 .imgContent1 h1 {
            font-size: 18pt;
            color: red;
        }
    }

    .imgContainer1 {
        position: relative;
        /*max-width: 800px;  Maximum width */
        margin: 0 auto; /* Center it */
    }

    
    .imgContainer1 .imgContent1 {
        position: absolute; /* Position the background text */
        top: 0; /* At the bottom. Use top:0 to append it to the top */
        display: block;
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.7); /* Black background with 0.5 opacity */
        color: #f1f1f1; /* Grey text */
        width: 100%; /* Full width */
        padding: 5px; /* Some padding */
    }

    .imgContainer1 .imgContent2 {
        position: absolute; /* Position the background text */
        bottom: 0; /* At the bottom. Use top:0 to append it to the top */
        background: rgb(0, 0, 0); /* Fallback color */
        background: rgba(0, 0, 0, 0.7); /* Black background with 0.5 opacity */
        color: #f1f1f1; /* Grey text */
        width: 100%; /* Full width */
        padding: 5px; /* Some padding */
    }

    .imgContainer1 .imgContent2 h1, .imgContainer1 .imgContent1 p {
        font-family: Arial, Helvetica, sans-serif;
        
    }

    .imgContainer1 .imgContent2 h1 {
        font-family: 'Source Code Pro';
        font-family: 'Advent Pro';
        font-family: 'Raleway';
        font-weight: 400;
        font-size: 18pt;
        margin: 0;
        border: none;
    }

    .imgContainer1 .imgContent1{
        border: none;
        margin: 0;
        font-family: 'Raleway';
        font-weight: 400;
        cursor: pointer;
    }

    .imgContainer1 .imgContent2 p{
        border: none;
        margin: 0;
    }

    .photoTag {
        border: solid 1px white;
        border-radius: 16px;
        background-color: aliceblue;
        color: #000000;
        padding: 2px 4px;
        font-size: calc(var(--f-size) - 3pt);
        cursor: pointer;
    }

    /* MODAL FULL PHOTO DISPLAY*/
    /* Style the Image Used to Trigger the Modal */
    #myImg {
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    #myImg:hover {opacity: 0.7;}

    /* The Modal (background) */
    .modal {
        display: none;  /*Hidden by default */
        position: fixed; /* Stay in place */
        z-index: 10; /* Sit on top */
        padding-top: 100px; /* Location of the box */
        left: 0;
        top: 0;
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: rgb(0,0,0); /* Fallback color */
        background-color: rgba(149, 145, 145, 0.9); /* Black w/ opacity */
    }

    /* Modal Content (Image) */
    .modal-content {
        margin: auto;
        display: block;
        /*width: 80%;
        max-width: 700px;*/
        max-width: 100%;
    }

    /* Caption of Modal Image (Image Text) - Same Width as the Image */
    #caption {
        margin: auto;
        display: block;
        width: 80%;
        max-width: 700px;
        text-align: center;
        color: #ccc;
        padding: 10px 0;
        height: 150px;
    }

    #photoTitle {
        font-family: var(--font-family-1);
        font-size: calc(var(--font-size) + 10pt);
    }

    .imgPreview{
        max-width: 200px;
    }

    /* Add Animation - Zoom in the Modal */
    .modal-content, #caption {
        animation-name: zoom;
        animation-duration: 0.6s;
    }

    @keyframes zoom {
        from {transform:scale(0)}
        to {transform:scale(1)}
    }

    /* The Close Button */
    .close {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #f1f1f1;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
    }

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

    /* 100% Image Width on Smaller Screens */
    @media only screen and (max-width: 700px){
        .modal-content {
            width: 100%;
        }
    }





    #icoPhotoEdit{
        width: 16px;
        height: 16px;
        background: url('../images/asset_photos/icon 001 16x16.gif') -5px -5px;
    }

    #icoPhotoEdit2{
        width: 24px;
        height: 24px;
        background: url('../images/asset_photos/photo album 001 24x24.gif') -34px -92px;
    }


    /* ------------------------------------------------- NEW LAYOUT ----------------------------------------- */
    .albumHead{
        grid-area: albumHead;
        position: relative;
    }

    .albumBody{
        grid-area: albumBody;
        text-align: center;
        position: relative;
    }

    .photoDetail{
        grid-area: photoDetail;
        padding: 0;
    }

    .photoThumb{
        grid-area: photoThumb;
    }

    .albumContainer{
        display: grid;
        grid-template-areas: 
            'albumHead'
            'albumBody'
            'photoDetail'
            'photoThumb';
        margin: auto;
        color: black;
        position: relative;
        padding: 0;
        margin: 0;
    }

    /* Responsive layout - makes a two column-layout instead of four columns */
    @media screen and (min-width: 800px) {
        .albumContainer{
            grid-template-areas: 
                'albumHead photoThumb'
                'albumBody photoThumb'
                'albumBody photoDetail';
        }

        .albumHead, .albumBody {
            border-right: 1px solid white;
        }

        .photoDetail {
            padding-left: 10px;
        }
    }

    .albumToolbox, .photoToolbox {
        position: absolute;
        top: 5px;
        right: 10px;
    }
    .containerToolbox{
        position: absolute;
        top: 5px;
        left: 10px;
    }

    i {
        font-size: 18pt;
        cursor: pointer;
        margin-right: 10px;
    }




